home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Resources / Developer & Web Development Tools / Twistpad 1.64 / Setup.exe / $APPDATA / Carthago / Twistpad / Syntax / Nsis.sdf < prev    next >
Text File  |  2007-10-06  |  7KB  |  225 lines

  1. ;NullSoft Installer System Syntax highlight Script for Twistpad
  2. ;1998 - 2007 ⌐ Carthago Software
  3.  
  4. [::Header::]
  5. SyntaxName=NullSoft Installer System
  6. Extensions=nsi;nsh
  7. ;Functions=(?i)^Section "
  8. Functions=(?i)(^|^[^A-Z]+)(Section|Function|SectionGroup)\b(.*$)
  9. FunctionSubs=$3 ($2)
  10. Spelling=0 
  11. SpellingContexts=1;2
  12. Delimiters=%-+/&*=<>|~^,.:;(){}#*"][\/'@
  13. CommentChar=;
  14.  
  15. [Comment1]
  16. Type=StartStop
  17. Context=1
  18. Scope=0
  19. Priority=10
  20. WholeWordOnly=0
  21. First=;
  22. Last=
  23. Background=Default
  24. Foreground=008000
  25. italic=0
  26.  
  27. [Comment2]
  28. Type=StartStop
  29. Context=1
  30. Scope=0
  31. Priority=10
  32. WholeWordOnly=0
  33. First=#
  34. Last=
  35. Background=Default
  36. Foreground=008000
  37. italic=0
  38.  
  39. [Comment3]
  40. Type=StartStop
  41. Context=1
  42. Scope=0
  43. Priority=10
  44. WholeWordOnly=0
  45. First=/*
  46. Last=*/
  47. Background=Default
  48. Foreground=008000
  49. italic=0
  50. outline=1
  51.  
  52. [Quote]
  53. Type=StartStop
  54. Context=2
  55. Scope=0
  56. Priority=10
  57. WholeWordOnly=0
  58. First="
  59. Last="
  60. Background=Default
  61. Foreground=808080
  62.  
  63. [Quote2]
  64. Type=StartStop
  65. Context=2
  66. Scope=0
  67. Priority=10
  68. WholeWordOnly=0
  69. First='
  70. Last='
  71. Background=Default
  72. Foreground=808080
  73.  
  74. [Sections]
  75. Type=StartStop
  76. Context=3
  77. Scope=0
  78. Priority=5
  79. WholeWordOnly=1
  80. First=Section
  81. Last=SectionEnd
  82. Background=Default
  83. Foreground=Default
  84. BeginParagraph=1
  85. Outline=1 
  86. smart=1
  87.  
  88. [Sections1]
  89. Type=StartStop
  90. Context=3
  91. Scope=0
  92. Priority=5
  93. WholeWordOnly=1
  94. First=SubSection
  95. Last=SubSectionEnd
  96. Background=Default
  97. Foreground=Default
  98. BeginParagraph=1
  99. Outline=1 
  100. smart=1
  101.  
  102. [Function]
  103. Type=StartStop
  104. Context=3
  105. Scope=0
  106. Priority=5
  107. WholeWordOnly=1
  108. First=Function
  109. Last=FunctionEnd
  110. Background=Default
  111. Foreground=Default
  112. BeginParagraph=1
  113. Outline=1 
  114. smart=1
  115.  
  116. [SectionGroup]
  117. Type=StartStop
  118. Context=3
  119. Scope=0
  120. Priority=5
  121. WholeWordOnly=1
  122. First=SectionGroup
  123. Last=SectionGroupEnd
  124. Background=Default
  125. Foreground=Default
  126. BeginParagraph=1
  127. Outline=1 
  128. smart=1
  129.  
  130. [CompilerVars]
  131. Type=StartStop
  132. Context=4
  133. Scope=0
  134. Priority=6
  135. WholeWordOnly=0
  136. First=${
  137. Last=}
  138. Background=Default
  139. Foreground=#804000
  140.  
  141. [Keywords]
  142. Type=keyword
  143. Context=101
  144. Scope=0
  145. Priority=6
  146. WholeWordOnly=1
  147. Keyword1=Function;FunctionEnd;SectionIn;SubSection;SubSectionEnd;Page;UninstPage;AddBrandingImage;AllowRootDirInstall;AutoCloseWindow;BGGradient;BrandingText;ChangeUI;CheckBitmap;CompletedText;ComponentText;CRCCheck;DetailsButtonText;DirShow;DirText;FileErrorText;InstallButtonText;InstallColors;InstallDir;InstallDirRegKey;InstProgressFlags
  148. Keyword2=InstType;LicenseBkColor;LicenseData;LicenseText;MiscButtonText;SetFont;ShowInstDetails;ShowUninstDetails;SilentInstall;SilentUnInstall;SpaceTexts;SubCaption;UninstallButtonText;UninstallCaption;UninstallIcon;UninstallSubCaption;UninstallText;WindowIcon;XPStyle;SetCompress;SetCompressor;SetDatablockOptimize;SetDateSave;SetOverwrite;SetPluginUnload;AddSize;SetOutPath;OutFile;Name;Caption;Icon;LicenseForceSelection;Var;VIAddVersionKey;VIProductVersion;PageEx;PageExEnd;PageCallbacks;DirVar;FileBufSize;LicenseLangString
  149. Keyword3=File;Exec;ExecWait;ExecShell;Rename;Delete;RMDir;WriteRegStr;WriteRegExpandStr;WriteRegDWORD;WriteRegBin;WriteINIStr;ReadRegStr;ReadRegDWORD;ReadEnvStr;ExpandEnvStrings;DeleteRegValue;DeleteRegKey;EnumRegKey;EnumRegValue;DeleteINISec;DeleteINIStr;CreateDirectory;CopyFiles;SetFileAttributes;CreateShortCut;GetFullPathName;SearchPath;GetTempFileName;CallInstDLL
  150. Keyword4=RegDLL;UnRegDLL;GetDLLVersion;GetDLLVersionLocal;GetFileTime;GetFileTimeLocal;Goto;Call;Return;IfErrors;ClearErrors;SetErrors;FindWindow;SendMessage;IsWindow;IfFileExists;MessageBox;StrCmp;IntCmp;IntCmpU;Abort;Quit;GetFunctionAddress;GetLabelAddress;GetCurrentAddress;FindFirst;FindNext;FindClose;FileOpen;FileClose;FileRead;FileWrite;FileReadByte;FileWriteByte;FileSeek;SetDetailsView;SetDetailsPrint;SetAutoClose;DetailPrint;Sleep;BringToFront;HideWindow;SetShellVarContext;StrCpy;StrLen;Push;Pop;Exch;IntOp;IntFmt;Reboot;IfRebootFlag;SetRebootFlag;WriteUninstaller;LogSet;LogText;SectionSetFlags;SectionGetFlags;SectionSetText;SectionGetText;LoadLanguageFile;GetDlgItem;SetBrandingImage;CreateFont;ReserveFile;GetWindowText;ShowWindow;LangString;LangStringUP;FlushINI;SectionSetInstTypes;SectionGetInstTypes;InitPluginsDir;ReadIniStr;IfAbort;SectionSetSize;SectionGetSize;SetCurInstType;GetCurInstType;InstTypeSetText;InstTypeGetText;AllowSkipFiles;Nop;EnableWindow;SetCtlColors;IfSilent;SetSilent
  151. Keyword5=.onGUIInit;.onInit;.onGUIEnd;.onInstFailed;.onInstSuccess;.onMouseOverSection;.onSelChange;.onUserAbort;.onVerifyInstDir;un.onGUIInit;un.onGUIEnd;un.onInit;un.onUninstFailed;un.onUninstSuccess;un.onUserAbort
  152. Keyword6=Section;SectionEnd;SectionGroup;SectionGroupEnd
  153. Keyword7=
  154. Keyword8=
  155. Keyword9=
  156. Keyword10=
  157. Keyword11=
  158. Background=Default
  159. Foreground=0000FF
  160. Bold=0
  161.  
  162. [Directive]
  163. Type=keyword
  164. Context=102
  165. Scope=0
  166. Priority=6
  167. WholeWordOnly=1
  168. Keyword1=!system;!include;!cd;!packhdr;!define;!undef;!ifdef;!ifndef;!endif;!else;!macro;!macroend;!insertmacro;!verbose;!warning;!error;!echo;!addIncludeDir;!addplugindir
  169. Keyword2=
  170. Keyword3=
  171. Keyword4=
  172. Keyword5=
  173. Keyword6=
  174. Keyword7=
  175. Keyword8=
  176. Keyword9=
  177. Keyword10=
  178. Keyword11=
  179. Background=Default
  180. Foreground=FF00FF
  181. Bold=0
  182.  
  183. [Parameter]
  184. Type=keyword
  185. Context=103
  186. Scope=0
  187. Priority=7
  188. WholeWordOnly=1
  189. Keyword1=custom;license;components;directory;instfiles;uninstConfirm;true;false;on;off;force;show;hide;nevershow;normal;silent;silentlog;auto;zlib;bzip2;try;ifnewer;manual;alwaysoff;RO;SW_SHOWNORMAL;SW_SHOWMAXIMIZED;SW_SHOWMINIMIZED;HKCR;HKEY_CLASSES_ROOT;HKLM;HKEY_LOCAL_MACHINE;HKCU;HKEY_CURRENT_USER;HKU;HKEY_USERS;HKCC;HKEY_CURRENT_CONFIG;HKDD;HKEY_DYN_DATA;HKPD;HKEY_PERFORMANCE_DATA
  190. Keyword2=FILE_ATTRIBUTE_NORMAL;ARCHIVE;FILE_ATTRIBUTE_ARCHIVE;HIDDEN;FILE_ATTRIBUTE_HIDDEN;OFFLINE;FILE_ATTRIBUTE_OFFLINE;READONLY;FILE_ATTRIBUTE_READONLY;SYSTEM;FILE_ATTRIBUTE_SYSTEM,TEMPORARY;FILE_ATTRIBUTE_TEMPORARY;MB_OK;MB_OKCANCEL;MB_ABORTRETRYIGNORE;MB_RETRYCANCEL;MB_YESNO;MB_YESNOCANCEL;MB_ICONEXCLAMATION;MB_ICONINFORMATION;MB_ICONQUESTION;MB_ICONSTOP;MB_TOPMOST;MB_SETFOREGROUND;MB_RIGHT;MB_DEFBUTTON1;MB_DEFBUTTON2;MB_DEFBUTTON3;MB_DEFBUTTON4;IDABORT;IDCANCEL;IDIGNORE;IDNO;IDOK;IDRETRY;IDYES;current;all;none;listonly;textonly;both;lastused;checkbox;radiobuttons;/lang;/TRIMLEFT;/TRIMRIGHT;/TRIMCENTER;/windows;/NOCUSTOM;/CUSTOMSTRING;/COMPONENTSONLYONCUSTOM;/e;/REBOOTOK;/nonfatal;/a;/r;/oname;/ifempty;/NOUNLOAD;/FILESONLY;/SHORT;/ITALIC;/UNDERLINE;/STRIKE;/TIMEOUT;/IMGID;/RESIZETOFIT;/components;/silent
  191. Keyword3=
  192. Keyword4=
  193. Keyword5=
  194. Keyword6=
  195. Keyword7=
  196. Keyword8=
  197. Keyword9=
  198. Keyword10=
  199. Keyword11=
  200. Background=Default
  201. Foreground=FF8000
  202. Bold=0
  203.  
  204. [Variable]
  205. Type=keyword
  206. Context=104
  207. Scope=0
  208. Priority=6
  209. WholeWordOnly=1
  210. Keyword1=$0;$1;$2;$3;$4;$5;$6;$7;$8;$9;$R0;$R1;$R2;$R3;$R4;$R5;$R6;$R7;$R8;$R9;$INSTDIR;$OUTDIR;$CMDLINE;$PROGRAMFILES;$DESKTOP;$EXEDIR;$WINDIR;$SYSDIR;$TEMP;$STARTMENU;$SMPROGRAMS;$SMSTARTUP;$QUICKLAUNCH;$HWNDPARENT;$LANGUAGE;$PLUGINSDIR;
  211. Keyword2=
  212. Keyword3=
  213. Keyword4=
  214. Keyword5=
  215. Keyword6=
  216. Keyword7=
  217. Keyword8=
  218. Keyword9=
  219. Keyword10=
  220. Keyword11=
  221. Background=Default
  222. Foreground=808080
  223. Bold=0
  224.  
  225.